package com.uchiha.nova.core.tool.function;

/**
 * @author 周林静
 * @Date 2021/4/29 16:00
 * @Version 1.0
 */
@FunctionalInterface
public interface CheckedComparator<T> {

    /**
     * Compares its two arguments for order.
     *
     * @param o1 o1
     * @param o2 o2
     * @return int
     * @throws Throwable CheckedException
     */
    int compare(T o1, T o2) throws Throwable;

}
